function fctLoadValues()
{	
	var sValue = document.getElementById("axlab_indiv_type").value;	
	if ((sValue != "Bone marrow unrelated donor") && (sValue != "Other"))
	{
		document.getElementById("axlab_indiv_type_registry").style.display = "none";  
		document.getElementById("axlab_indiv_type_other").style.display = "none";		
		document.getElementById("axlab_label1").style.display = "none";  
		document.getElementById("axlab_label2").style.display = "none";		
	}
	if (sValue == "Bone marrow unrelated donor")
	{
		document.getElementById("axlab_indiv_type_registry").style.display = "block";   
		document.getElementById("axlab_indiv_type_other").style.display = "none";		
		document.getElementById("axlab_label1").style.display = "block";  
		document.getElementById("axlab_label2").style.display = "none";		
	}
	if (sValue == "Other")
	{
		document.getElementById("axlab_indiv_type_registry").style.display = "none";  
		document.getElementById("axlab_indiv_type_other").style.display = "block";		
		document.getElementById("axlab_label1").style.display = "none";  
		document.getElementById("axlab_label2").style.display = "block";		
	}	
	fctCheckHaplos();
}
function fctCheckHaplos()
{
	var sValue2 = document.getElementById("axlab_haplotype").value;
	if (sValue2 == "")
	{
		document.getElementById("axlab_type").style.display = "none";
		document.getElementById("axlab_hap1_hla_a").style.display = "none";
		document.getElementById("axlab_hap2_hla_a").style.display = "none";
		document.getElementById("axlab_hap1_hla_b").style.display = "none";
		document.getElementById("axlab_hap2_hla_b").style.display = "none";
		document.getElementById("axlab_hap1_hla_cw").style.display = "none";
		document.getElementById("axlab_hap2_hla_cw").style.display = "none";
		document.getElementById("axlab_hap1_hla_dra1").style.display = "none";
		document.getElementById("axlab_hap2_hla_dra1").style.display = "none";
		document.getElementById("axlab_hap1_hla_drb1").style.display = "none";
		document.getElementById("axlab_hap2_hla_drb1").style.display = "none";
		document.getElementById("axlab_hap1_hla_dqa1").style.display = "none";
		document.getElementById("axlab_hap2_hla_dqa1").style.display = "none";
		document.getElementById("axlab_hap1_hla_dqb1").style.display = "none";
		document.getElementById("axlab_hap2_hla_dqb1").style.display = "none";
		document.getElementById("axlab_hap1_hla_dpa1").style.display = "none";
		document.getElementById("axlab_hap2_hla_dpa1").style.display = "none";
		document.getElementById("axlab_hap1_hla_dpb1").style.display = "none";
		document.getElementById("axlab_hap2_hla_dpb1").style.display = "none";
		document.getElementById("axlab_label3").style.display = "none";
		document.getElementById("axlab_label4").style.display = "none";
		document.getElementById("axlab_label5").style.display = "none";
		document.getElementById("axlab_label6").style.display = "none";
		document.getElementById("axlab_label7").style.display = "none";
		document.getElementById("axlab_label8").style.display = "none";
		document.getElementById("axlab_label9").style.display = "none";
		document.getElementById("axlab_label10").style.display = "none";
		document.getElementById("axlab_label11").style.display = "none";
		document.getElementById("axlab_label12").style.display = "none";
		document.getElementById("axlab_label13").style.display = "none";
		document.getElementById("axlab_label14").style.display = "none";
		document.getElementById("axlab_label15").style.display = "none";
		document.getElementById("axlab_label16").style.display = "none";
		document.getElementById("axlab_label17").style.display = "none";
		document.getElementById("axlab_label18").style.display = "none";
	}
	if (sValue2 == "Confirmed by family studies")
	{
		document.getElementById("axlab_type").style.display = "none";
		document.getElementById("axlab_hap1_hla_a").style.display = "block";
		document.getElementById("axlab_hap2_hla_a").style.display = "none";
		document.getElementById("axlab_hap1_hla_b").style.display = "block";
		document.getElementById("axlab_hap2_hla_b").style.display = "none";
		document.getElementById("axlab_hap1_hla_cw").style.display = "block";
		document.getElementById("axlab_hap2_hla_cw").style.display = "none";
		document.getElementById("axlab_hap1_hla_dra1").style.display = "block";
		document.getElementById("axlab_hap2_hla_dra1").style.display = "none";
		document.getElementById("axlab_hap1_hla_drb1").style.display = "block";
		document.getElementById("axlab_hap2_hla_drb1").style.display = "none";
		document.getElementById("axlab_hap1_hla_dqa1").style.display = "block";
		document.getElementById("axlab_hap2_hla_dqa1").style.display = "none";
		document.getElementById("axlab_hap1_hla_dqb1").style.display = "block";
		document.getElementById("axlab_hap2_hla_dqb1").style.display = "none";
		document.getElementById("axlab_hap1_hla_dpa1").style.display = "block";
		document.getElementById("axlab_hap2_hla_dpa1").style.display = "none";
		document.getElementById("axlab_hap1_hla_dpb1").style.display = "block";
		document.getElementById("axlab_hap2_hla_dpb1").style.display = "none";
		document.getElementById("axlab_label3").style.display = "block";
		document.getElementById("axlab_label4").style.display = "block";
		document.getElementById("axlab_label5").style.display = "block";
		document.getElementById("axlab_label6").style.display = "block";
		document.getElementById("axlab_label7").style.display = "block";
		document.getElementById("axlab_label8").style.display = "block";
		document.getElementById("axlab_label9").style.display = "block";
		document.getElementById("axlab_label10").style.display = "block";
		document.getElementById("axlab_label11").style.display = "block";
		document.getElementById("axlab_label12").style.display = "block";
		document.getElementById("axlab_label13").style.display = "block";
		document.getElementById("axlab_label14").style.display = "block";
		document.getElementById("axlab_label15").style.display = "none";
		document.getElementById("axlab_label16").style.display = "block";
		document.getElementById("axlab_label17").style.display = "none";
		document.getElementById("axlab_label18").style.display = "none";
		document.getElementById("axlab_hap1_hla_a").focus();		
	}
	if (sValue2 == "Deduced based on known frequencies")
	{
		document.getElementById("axlab_type").style.display = "none";
		document.getElementById("axlab_hap1_hla_a").style.display = "block";
		document.getElementById("axlab_hap2_hla_a").style.display = "block";
		document.getElementById("axlab_hap1_hla_b").style.display = "block";
		document.getElementById("axlab_hap2_hla_b").style.display = "block";
		document.getElementById("axlab_hap1_hla_cw").style.display = "block";
		document.getElementById("axlab_hap2_hla_cw").style.display = "block";
		document.getElementById("axlab_hap1_hla_dra1").style.display = "block";
		document.getElementById("axlab_hap2_hla_dra1").style.display = "block";
		document.getElementById("axlab_hap1_hla_drb1").style.display = "block";
		document.getElementById("axlab_hap2_hla_drb1").style.display = "block";
		document.getElementById("axlab_hap1_hla_dqa1").style.display = "block";
		document.getElementById("axlab_hap2_hla_dqa1").style.display = "block";
		document.getElementById("axlab_hap1_hla_dqb1").style.display = "block";
		document.getElementById("axlab_hap2_hla_dqb1").style.display = "block";
		document.getElementById("axlab_hap1_hla_dpa1").style.display = "block";
		document.getElementById("axlab_hap2_hla_dpa1").style.display = "block";
		document.getElementById("axlab_hap1_hla_dpb1").style.display = "block";
		document.getElementById("axlab_hap2_hla_dpb1").style.display = "block";
		document.getElementById("axlab_label3").style.display = "block";
		document.getElementById("axlab_label4").style.display = "block";
		document.getElementById("axlab_label5").style.display = "block";
		document.getElementById("axlab_label6").style.display = "block";
		document.getElementById("axlab_label7").style.display = "block";
		document.getElementById("axlab_label8").style.display = "block";
		document.getElementById("axlab_label9").style.display = "block";
		document.getElementById("axlab_label10").style.display = "block";
		document.getElementById("axlab_label11").style.display = "block";
		document.getElementById("axlab_label12").style.display = "block";
		document.getElementById("axlab_label13").style.display = "block";
		document.getElementById("axlab_label14").style.display = "block";
		document.getElementById("axlab_label15").style.display = "none";
		document.getElementById("axlab_label16").style.display = "none";
		document.getElementById("axlab_label17").style.display = "block";
		document.getElementById("axlab_label18").style.display = "none";
		document.getElementById("axlab_hap1_hla_a").focus();		
	}
	if (sValue2 == "Unknown")
	{
		document.getElementById("axlab_type").style.display = "block";
		document.getElementById("axlab_hap1_hla_a").style.display = "none";
		document.getElementById("axlab_hap2_hla_a").style.display = "none";
		document.getElementById("axlab_hap1_hla_b").style.display = "none";
		document.getElementById("axlab_hap2_hla_b").style.display = "none";
		document.getElementById("axlab_hap1_hla_cw").style.display = "none";
		document.getElementById("axlab_hap2_hla_cw").style.display = "none";
		document.getElementById("axlab_hap1_hla_dra1").style.display = "none";
		document.getElementById("axlab_hap2_hla_dra1").style.display = "none";
		document.getElementById("axlab_hap1_hla_drb1").style.display = "none";
		document.getElementById("axlab_hap2_hla_drb1").style.display = "none";
		document.getElementById("axlab_hap1_hla_dqa1").style.display = "none";
		document.getElementById("axlab_hap2_hla_dqa1").style.display = "none";
		document.getElementById("axlab_hap1_hla_dqb1").style.display = "none";
		document.getElementById("axlab_hap2_hla_dqb1").style.display = "none";
		document.getElementById("axlab_hap1_hla_dpa1").style.display = "none";
		document.getElementById("axlab_hap2_hla_dpa1").style.display = "none";
		document.getElementById("axlab_hap1_hla_dpb1").style.display = "none";
		document.getElementById("axlab_hap2_hla_dpb1").style.display = "none";
		document.getElementById("axlab_label3").style.display = "none";
		document.getElementById("axlab_label4").style.display = "none";
		document.getElementById("axlab_label5").style.display = "none";
		document.getElementById("axlab_label6").style.display = "none";
		document.getElementById("axlab_label7").style.display = "none";
		document.getElementById("axlab_label8").style.display = "none";
		document.getElementById("axlab_label9").style.display = "none";
		document.getElementById("axlab_label10").style.display = "none";
		document.getElementById("axlab_label11").style.display = "none";
		document.getElementById("axlab_label12").style.display = "none";
		document.getElementById("axlab_label13").style.display = "none";
		document.getElementById("axlab_label14").style.display = "none";
		document.getElementById("axlab_label15").style.display = "block";
		document.getElementById("axlab_label16").style.display = "none";
		document.getElementById("axlab_label17").style.display = "none";
		document.getElementById("axlab_label18").style.display = "block";
		document.getElementById("axlab_type").focus();		
	}
}
function fctCheckValues()
{	
	var sValue = document.getElementById("axlab_indiv_type").value;	
	if ((sValue != "Bone marrow unrelated donor") && (sValue != "Other"))
	{
		document.getElementById("axlab_indiv_type_registry").style.display = "none";  
		document.getElementById("axlab_indiv_type_other").style.display = "none";		
		document.getElementById("axlab_label1").style.display = "none";  
		document.getElementById("axlab_label2").style.display = "none";		
		document.getElementById("axlab_haplotype").focus();
	}
	if (sValue == "Bone marrow unrelated donor")
	{
		document.getElementById("axlab_indiv_type_registry").style.display = "block";   
		document.getElementById("axlab_indiv_type_other").style.display = "none";		
		document.getElementById("axlab_label1").style.display = "block";  
		document.getElementById("axlab_label2").style.display = "none";		
		document.getElementById("axlab_indiv_type_registry").focus();
	}
	if (sValue == "Other")
	{
		document.getElementById("axlab_indiv_type_registry").style.display = "none";  
		document.getElementById("axlab_indiv_type_other").style.display = "block";		
		document.getElementById("axlab_label1").style.display = "none";  
		document.getElementById("axlab_label2").style.display = "block";		
		document.getElementById("axlab_indiv_type_other").focus();
	}
}
function fctFreeFields()
{	
	document.getElementById("axlab_indiv_type_registry").style.display = "block";   
	document.getElementById("axlab_indiv_type_other").style.display = "block";		
	document.getElementById("axlab_label1").style.display = "block";  
	document.getElementById("axlab_label2").style.display = "block";		
}